// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// 导入全局样式表
import './assets/css/global.css'

Vue.config.productionTip = false

// 导入heyui
import HeyUI from 'heyui';
Vue.use(HeyUI);
require("heyui/themes/index.css");
import "heyui/themes/index.less";

// 导入ElementUI
import ElementUI from 'element-ui'
// 导入弹窗
import { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
// 全局配置弹窗
Vue.prototype.$message = Message


// 百度地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
	ak: 'C0dH4KzF9agm3rwAigS5f39I5jxvfw45'
})


/*引入axios*/
import Axios from 'axios'
Vue.prototype.axios = Axios;

/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	components: { App },
	template: '<App/>',
	render: h => h(App)
})
